/*
 * Copyright (C) 2000-2006 Sailing Group
 * 
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details.
 * 
 */
package lfp.domain.entity;

import javax.persistence.*;

/**
 * <pre>
 * Developer: hhh
 * Date: 2006-11-22
 * </pre>
 */

@MappedSuperclass
public class PowerLoad extends Series {
    public static PowerLoad newInstance(int year) {
        return (PowerLoad) createObject("lfp.domain.entity.PowerLoad" + year);
    }
}


@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2011 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2012 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2013 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2014 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2015 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2016 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2017 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2018 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2019 extends PowerLoad {
}

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
class PowerLoad2020 extends PowerLoad {
}
